package org.ielse.frame.util;

import org.ielse.frame.C;

import android.text.TextUtils;
import android.util.Log;

public class LogUtil {

	public static void i(String text) {
		if (C.settings.DEBUG && !TextUtils.isEmpty(text)) Log.i(C.settings.LOG_TAG, text);
	}

	public static void d(String text) {
		if (C.settings.DEBUG && !TextUtils.isEmpty(text)) Log.d(C.settings.LOG_TAG, text);
	}

	public static void w(String text) {
		if (C.settings.DEBUG && !TextUtils.isEmpty(text)) Log.w(C.settings.LOG_TAG, text);
	}

	public static void e(String text) {
		if (C.settings.DEBUG && !TextUtils.isEmpty(text)) Log.e(C.settings.LOG_TAG, text);
	}
}
